Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Registering Error, Warning, and Notice Callback Routines

The Error Manager provides functions that you can use to register error, warning, and notice callback routines.

Q3Error_Register

You can use the Q3Error_Register function to register an application-defined error-handling routine.

TQ3Status Q3Error_Register (TQ3ErrorMethod errorPost, long reference);
errorPost
A pointer to an application-defined error-handling routine.
reference
A long integer for your application's own use.

DESCRIPTION

The Q3Error_Register function registers with the Error Manager the error-handling routine specified by the errorPost parameter. See page  [link] for information on defining an error-handling routine.

Q3Warning_Register

You can use the Q3Warning_Register function to register an application-defined warning-handling routine.

TQ3Status Q3Warning_Register (
                     TQ3WarningMethod warningPost,
                     long reference);
warningPost
A pointer to an application-defined warning-handling routine.
reference
A long integer for your application's own use.

DESCRIPTION

The Q3Warning_Register function registers with the Error Manager the warning-handling routine specified by the warningPost parameter. See page  [link] for information on defining a warning-handling routine.

Q3Notice_Register

You can use the Q3Notice_Register function to register an application-defined notice-handling routine.

TQ3Status Q3Notice_Register (TQ3NoticeMethod noticePost, long reference);
noticePost
A pointer to an application-defined notice-handling routine.
reference
A long integer for your application's own use.

DESCRIPTION

The Q3Notice_Register function registers with the Error Manager the notice-handling routine specified by the noticePost parameter. See page  [link] for information on defining a notice-handling routine.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |